using UnityEngine;
using System.Collections;

public class GameManager : MonoBehaviour 
{
	public static GameManager GM;
	
	public GUIStyle guiStyle;
	private int points = 0;

	void Start()
	{
		GM = this;
		points = 0;
	}
	
	void Update()
	{
		
	}
	
	void OnGUI()
	{
		GUI.Label(new Rect(5, Screen.height-35, 200, 35), "" + points, guiStyle);
	}
	
	public void FoundCoin()
	{
	    points++;
	}
}
